import request from '../utils/request';
import { objectToQueryString } from '../utils/url';
import { host, testPort } from 'Config';

const basePath = `http://${host}:${testPort}`

class API {
    // 获取首页菜单
    static async getHomeMenus() {
        let data = await request(`${basePath}/wxlight/userinfo`, {
            method: 'post'
        });
        return data;
    }
}

export default API;